package com.db.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.db.service.DltService;

@RestController
@RequestMapping("index")
public class IndexController {
	
	@Autowired
	DltService dService;
	
	@RequestMapping("demo")
	public String demo(String path) {
		//保存最新的数据
		dService.saveLast();
		//看自己的中奖情况
		
		return "";
	}
}
